﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Interfaces.RepositoryModels.InternalModels.UserRoleModels;

namespace Interfaces.RepositoryModels.InternalModels.NewsInformationModels
{
    public class FeedModel : ModelBase
    {
        [Key]
        [Column(Order = 2)]
        public string BaseUri { get; set; }
        public string Copyright { get; set; }
        public DateTime LastUpdatedTime { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public string ImageUrl { get; set; }
        public string Language { get; set; }
        public virtual ICollection<NewsDataItemModel> Items { get; set; }
        public virtual ICollection<PersonModel> Persons { get; set; }
        public virtual ICollection<LinkModel> Links { get; set; }
        public virtual ICollection<CategoryModel> Categories { get; set; }
        public virtual ICollection<UserModel> Users { get; set; }
    }
}
